<?php
    $this->load->view('wx/public/header.html', [
        'time' => time(),
        'index' => 4,
        'css' => [
            'assets/wx/css/car.css',
        ]
    ]);
?>

<body class="gu-sale" ng-controller="wx-center-collect-index-controller">

<div class="aui-content aui-margin-b-15" ng-show="lists.length > 0">
    <ul class="aui-list aui-select-list" style="margin-bottom: 5rem;">
        <li class="aui-list-item gu-list-item aui-margin-b-10" ng-repeat="(index, l) in lists">
            <a href="/detail?id={{ l.goodsId }}">
                <div class="aui-list-item-inner gu-car-box">
                    <div style="float: left;" class="gu-car-media aui-margin-r-10">
                        <img ng-src="{{ l.thumb }}" alt="">
                    </div>
                    <div class="gu-car-desc">
                        <div class="gu-car-header">
                            <p class="aui-ellipsis-2 gu-car-goods-name aui-font-size-14" ng-bind="l.goodsName"></p>
                            <strong class="gu-car-goods-price aui-text-right aui-font-size-16">
                                <span ng-bind="'￥' + l.price"></span>
                                <br>
                            </strong>
                        </div>
                        <div class="gu-car-footer">
                            <p><img src="<?=base_url()?>assets/wx/img/stars.png" ng-repeat="i in l.stars_arr" alt=""></p>
                            <a href="javascript:;" class="gu-btn-delete aui-text-default" ng-click="deleteItem(l)">删除</a>
                        </div>
                    </div>
                </div>
            </a>
        </li>
    </ul>

</div>

<div class="gu-car-empty" ng-show="selected && !lists.length">
    <p class="">收藏夹空空如也</p>
    <a href="/index">去逛逛</a>
</div>

<?php
    $this->load->view('wx/public/footer.html', [
        'js' => [
            'assets/wx/js/center/collect/index.js'
        ]
    ]);
?>

